package cn.bopomo.dealer.base.exception;

public class UserException extends Exception {

	private Exception e;
	private int msgCode;
	
	public UserException(int msgCode, String message){
		this.msgCode = msgCode;
		e = new Exception(message);
	}
	
	public String getMessage() {
		return e.getMessage();
	}
	
	public int getMsgCode(){
		return this.msgCode;
	}
}
